Skip to content

Update snap config docs to match new key names & improve consistency#192

Open
st3v3nmw wants to merge 3 commits intocanonical:mainfrom
st3v3nmw:consistent-urls
Open

Update snap config docs to match new key names & improve consistency#192
st3v3nmw wants to merge 3 commits intocanonical:mainfrom
st3v3nmw:consistent-urls

Conversation

@st3v3nmw
Copy link
Copy Markdown
Member

@st3v3nmw st3v3nmw commented Apr 17, 2026

Follow-up documentation for the landscape-client snap configure hook fix.

The snap config keys landscape-url and landscape-ping-url have been renamed to url and ping-url. All examples using snap set and gadget snap defaults have been updated accordingly. Full URLs (with /message-system and /ping) are now used throughout, consistent with landscape-config.

A note has been added to the snap set section explaining that unrecognized keys are not applied to landscape-client.conf and must be manually removed with snap unset.

Placeholder formatting has also been standardized across the installation and configuration guides to match the more prevalent LANDSCAPE_* pattern. Variable names were previously inconsistent across guides (COMPUTER_NAME vs COMPUTER_TITLE, SERVER_NAME vs LANDSCAPE_ACCOUNT_URL vs LANDSCAPE_URL vs YOUR_LANDSCAPE_URL vs FQDN, etc.) and have been standardized to a consistent LANDSCAPE_ prefix pattern (LANDSCAPE_ACCOUNT_NAME, LANDSCAPE_FQDN, LANDSCAPE_COMPUTER_TITLE).

Also fixed the manpage URLs since the current ones are now broken.

Related: canonical/landscape-client#430

@st3v3nmw st3v3nmw marked this pull request as ready for review April 17, 2026 11:20
Copy link
Copy Markdown
Contributor

@wck0 wck0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good, but I'm not sure when they will be ready to merge into the public docs. See my comments below.

account-name: {ACCOUNT_NAME}
url: https://{LANDSCAPE_FQDN}/message-system
ping-url: http://{LANDSCAPE_FQDN}/ping
account-name: {LANDSCAPE_ACCOUNT_NAME}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With these changes, the guide would only apply to the snap on the edge channel (once those changes are merged). But earlier in the guide we say to use the latest/stable channel. We should either hold off on this change until the changes to the snap land in latest/stable, or else make a note in this guide about the differences in those scenarios.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can hold the documentation changes back until the code changes land in latest/stable.

Comment thread docs/how-to-guides/ubuntu-pro/enable-landscape.md
Comment on lines +82 to +83
- `url`
- `ping-url`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar concerns apply to this how-to guide.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can hold the documentation changes back until the code changes land in latest/stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants